import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios';
import elementPlus from 'element-plus';  
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css';

//创建一个应用
const app = createApp(App)
 
//使用路由器
app.use(router)
app.use(elementPlus)
//app.use(store)
app.config.globalProperties.urlA = 'http://localhost:8081'
app.config.globalProperties.axios = axios
//app.provide("global",{axios}).mount('#app')
//挂载整个应用到app容器中
app.mount('#app')
